package com.dzh.pojo;

import java.sql.Time;
import java.util.Date;

public class Ticket {
    public Ticket() {
    }
    private String tid;
    private String chufadi;
    private String mudidi;
    private String gdate;
    private String gtime;
    private int yupiao;
    private  int money;
    private String adate;
    private String atime;
    private String type;

    @Override
    public String toString() {
        return "Ticket{" +
                "tid='" + tid + '\'' +
                ", chufadi='" + chufadi + '\'' +
                ", mudidi='" + mudidi + '\'' +
                ", gdate='" + gdate + '\'' +
                ", gtime='" + gtime + '\'' +
                ", yupiao=" + yupiao +
                ", money=" + money +
                ", adate='" + adate + '\'' +
                ", atime='" + atime + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getChufadi() {
        return chufadi;
    }

    public void setChufadi(String chufadi) {
        this.chufadi = chufadi;
    }

    public String getMudidi() {
        return mudidi;
    }

    public void setMudidi(String mudidi) {
        this.mudidi = mudidi;
    }

    public String getGdate() {
        return gdate;
    }

    public void setGdate(String gdate) {
        this.gdate = gdate;
    }

    public String getGtime() {
        return gtime;
    }

    public void setGtime(String gtime) {
        this.gtime = gtime;
    }

    public int getYupiao() {
        return yupiao;
    }

    public void setYupiao(int yupiao) {
        this.yupiao = yupiao;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getAdate() {
        return adate;
    }

    public void setAdate(String adate) {
        this.adate = adate;
    }

    public String getAtime() {
        return atime;
    }

    public void setAtime(String atime) {
        this.atime = atime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Ticket(String tid, String chufadi, String mudidi, String gdate, String gtime, int yupiao, int money, String adate, String atime, String type) {
        this.tid = tid;
        this.chufadi = chufadi;
        this.mudidi = mudidi;
        this.gdate = gdate;
        this.gtime = gtime;
        this.yupiao = yupiao;
        this.money = money;
        this.adate = adate;
        this.atime = atime;
        this.type = type;
    }
}
